Post

Replies

Boosts

Views

Activity

Comment on Numeric Keyboard
I'm using older (10-15yr) Apple keyboards. I swapped out the keyboard with another with no change. My system is: iMac (24-inch, M1, 2021). Testing in XCode, the 10 number keys and the decimal point no longer generate Keyboard NSEvents. All the other keys( + - * = etc) on the numeric keypad side work normally. Curiously, the 5 key on the number pad generates a mouseUp event.
Jun ’22
Comment on Left Hand Coordinates???
From your link I gather that OpenGL uses left hand coordinates but they end up as right hand coordinates by the projection matrix transform. All I know is that in porting a project from OpenGL, in which I designed my geometry with right hand coordinates, to Metal I found that everything came out **** backward. Would you know how to set up a Metal projection matrix so that it works the same as in OpenGL?
Dec ’21
Comment on GCD dispatch_apply()
Actually, I've decided that dispatch_apply is inappropriate to what I am doing. Rather, I've taken the loop out of the hands of dispatch and populated the queue with repeated calls to dispatch_async. From watching the WWDC video I got the idea that dispatch_apply would be more efficient, but that turns out not to be the case here.
Dec ’21